package com.laoma.ordercenter.feignclilent;

import com.laoma.ordercenter.common.CommonResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "stock-center")
public interface StockCenterFeignClient {

    @GetMapping("/stock-center/stock/reduct.json")
    CommonResponse reductStockProduct(@RequestParam("productId")String productId);
}
